#region Summary 

// 
// Owner : JackieHan 
// 
// Solution : UpdateSystem 
// 
// Project : Skomart.Update.Download 
// 
// File : DownloadEventArgs.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : 文件下载事件参数
// 
// History : 
//			2010-08-03 17:30:17	    Create 
// 

#endregion

#region Using 

using System;

#endregion

namespace Skomart.Update.Download
{
    /// <summary> 
    /// 文件下载事件参数
    /// </summary>
    public class DownloadStateEventArgs:EventArgs
    {
        /// <summary>
        /// 所有文件下载进度
        /// </summary>
        private int allDownloadPercent = 0;
        /// <summary>
        /// 当前文件下载进度
        /// </summary>
        private int fileDownLoadPercent = 0;
        /// <summary>
        /// 当前下载文件
        /// </summary>
        private string currentFileName;

        private string discription;

        /// <summary>
        /// 所有文件下载进度
        /// </summary>
        public int AllDownloadPercent
        {
            get { return allDownloadPercent; }
            set { allDownloadPercent = value; }
        }

        /// <summary>
        /// 当前文件下载进度
        /// </summary>
        public int FileDownLoadPercent
        {
            get { return fileDownLoadPercent; }
            set { fileDownLoadPercent = value; }
        }

        /// <summary>
        /// 当前下载文件
        /// </summary>
        public string CurrentFileName
        {
            get { return currentFileName; }
            set { currentFileName = value; }
        }

        /// <summary>
        /// 说明
        /// </summary>
        public string Discription
        {
            get { return discription; }
            set { discription = value; }
        }
    }
}